\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{assets/cover}[2015/05/20 Cover Page]

%% Require title, author, studentid, advisor, college, department, grade.

\newcommand{\makecover}{
    \begin{titlepage}
        \begin{minipage}{100mm}
            \songti{\zihao{-5}{
                \textbf{}{分类号}\uline{\makebox[41mm]{ }} \textbf{}{密级}\uline{\makebox[41mm]{ }}  \\
                \textbf{}{UDC}\uline{\hfill  \hfill}
            }}
        \end{minipage}
        \hfill
        \begin{minipage}{25mm}
            \includegraphics[width=1.5in]{assets/logo}
        \end{minipage}
        \vspace{20mm}\\
        \centerline{\songti\zihao{-0}{本\ 科\ 毕\ 业\ 论\ 文（设\ 计）}}


        \vspace{15mm}
        \centerline{\heiti\zihao{1}{\parbox{\textwidth}{\centering\@title}}}


        \vspace{50mm}
        \begin{center}
            \zihao{3}{\textbf{\heiti 学生姓名}{\uline{\makebox[30mm]{\songti{\@author}}}}}\zihao{3}{\textbf{\heiti 学号}{\uline{\makebox[50mm]{\@studentid}}}}\par
            \zihao{3}{\textbf{\heiti 指导教师}{\uline{\makebox[92mm]{\songti{\@advisor}}}}}\par
            \zihao{3}{\textbf{\heiti 院、系、中心}{\uline{\makebox[80mm]{\songti{\@college}}}}}\par
            \zihao{3}{\textbf{\heiti 专业年级}{\uline{\makebox[92mm]{\songti{\@department}{\@grade}{级}}}}}\par
            \zihao{4}{\textbf{\heiti 论文答辩日期}{\uline{\makebox[17.5mm]{}}}}\zihao{4}{\textbf{\uline{\makebox[17.5mm]{}{\heiti 年}}}}\zihao{4}{\textbf{\uline{\makebox[17.5mm]{}{\heiti 月}}}}\zihao{4}{\textbf{\uline{\makebox[17.5mm]{}{\heiti 日}}}}\par
            \vspace{15mm}
            \zihao{-2}{\textbf{\kaishu 中\ 国\ 海\ 洋\ 大\ 学}}
        \end{center}
    \end{titlepage}
}
